package com.springboot_gradrecruit.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author zr
 * @TableName offer
 */
@TableName(value ="offer")
@Data
public class Offer implements Serializable {
    /**
     * offer主键ID
     */
    //    雪花算法-让ID不是1开始
    @TableId(type = IdType.ASSIGN_ID)
    private Long offerId;

    /**
     * offer发放的学生ID
     */
    private Long offerStudentId;

    /**
     * offer的岗位ID
     */
    private Long offerJobId;

    /**
     * offer的企业ID
     */
    private Long offerEnterpriseId;

    /**
     * offer状态，已发送，已接收，已拒绝，已过期
     */
    private String offerStatus;

    /**
     * offer补充信息
     */
    private String offerSupplementaryInformation;

    /**
     * offer截至时间
     */
    private Date offerExpirationDate;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    //    逻辑删除
    @TableLogic
    private Integer isDeleted;

    /**
     * 学生是否删除
     */
    private String studentIsDeleted;

    /**
     * 企业是否删除
     */
    private String enterpriseIsDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}